package com.htudata.live.pojo.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class BaseItemEntity implements Serializable {
  private static final long serialVersionUID = 5362734000165569373L;
  
  private int alarmNum;
  
  private int itemNum;

  protected boolean canEqual(Object other) {
    return other instanceof  BaseItemEntity;
  }
  
  public boolean equals(Object o) {
    if (o == this)
      return true; 
    if (!(o instanceof BaseItemEntity))
      return false; 
    BaseItemEntity other = (BaseItemEntity)o;
    return !other.canEqual(this) ? false : ((alarmNum!= other.getAlarmNum()) ? false : (!(getItemNum() != other.getItemNum())));
  }
  

}
